<table id="headbg" cellspacing="0" cellpadding="0">
<td><div id="logo"></div></td>

<td>

<?if($USER_LOGGED_IN$)?>
<div id="headright"> 
<div align="center"><strong>
   
<br>
$WDAY$ $DATE$ $TIME$<br><br>
</strong>
 <div align="center"><br><div align="left"><span style="font-size: 8pt; color: rgb(105, 105, 105);"><b><span style="font-family: Arial; font-size: 8pt; color: rgb(105, 105, 105);">  : <font color="#00bfff">$USERNAME$</font><br>: <font color="#00bfff">$USER_GROUP$</font><br> : <font color="#00bfff">$UNREAD_PM$</font></span></b></span></div>
<p></p>
<input class="buttonprofile" onclick="document.location.href='/index/8'; return false;" value="" type="button">
<input class="buttonprofile" onclick="window.open('/index/14','pmw','scrollbars=1,top=0,left=0,resizable=1,width=680,height=350'); return false;" value="" type="button">
<input class="buttonprofile" onclick="document.location.href='/index/10'; return false;" value="" type="button">
</div>
<br>
</div></div>
    
<?else?>
    
<div id="headright"> 
<div align="center"><strong>
   
<br>
$WDAY$ $DATE$ $TIME$<br><br>
</strong>
$LOGIN_FORM$
</div>
<?endif?>
    
</td>
 
</table>

<table id="headmenu" cellpadding="0" cellspacing="0">
<td width="70%" align="left">
<ul id="mstyle">
<li><a href="/"></a></li>
<li><a href="/forum" title=""></a></li>
<li><a href="/publ" title=""></a></li>
<li><a href="/load" title=""></a></li>
<li><a href="/" title="  ucoz">  ucoz</a></li>
</ul>
</td>
<td width="30%" align="right" style="font-size:11px;padding-right:10px;">$WDAY$, $DATE$, <span id="uClock">$TIME$</span></td>
</table>